//
//  LZFTopicItem.h
//  LZFBuDieJie
//
//  Created by 梁梓烽 on 16/7/2.
//  Copyright © 2016年 liangzifeng. All rights reserved.
//

#import <Foundation/Foundation.h>
/*
 "id":"19137285",
 "type":"10",
 "text":"第一次见这么配合的抢劫！这年头生意越来越好做了～",
 "user_id":"17371299",
 "name":"百思姐夫V美羊羊",
 "screen_name":"百思姐夫V美羊羊",
 "profile_image":"http://aimg.spriteapp.cn/profile/large/2016/04/29/572241fe9c8a9_mini.jpg",
 "created_at":"2016-07-02 05:52:01",
 "create_time":"2016-07-01 12:30:16",
 "passtime":"2016-07-02 05:52:01",
 "love":"428",
 "hate":"45",
 "comment":"38",
 "repost":"30",
 "bookmark":"34",
 "bimageuri":"",
 "voiceuri":"",
 "voicetime":"0",
 "voicelength":"0",
 "status":"4",
 "theme_id":"0",
 "theme_name":"",
 "theme_type":"0",
 "videouri":"",
 "videotime":"0",
 "original_pid":"0",
 "cache_version":2,
 "cai":"45",
 "top_cmt":[
 
 ],
 "weixin_url":"http://b.f.winapp111.com/share/19137285.html?wx.qq.com&appname=",
 "themes":[
 
 ],
 "image0":"http://ww4.sinaimg.cn/mw240/005ORxCTjw1f5egytcfhng306o04zu0x.gif",
 "image2":"http://ww4.sinaimg.cn/bmiddle/005ORxCTjw1f5egytcfhng306o04zu0x.gif",
 "image1":"http://ww4.sinaimg.cn/large/005ORxCTjw1f5egytcfhng306o04zu0x.gif",
 "cdn_img":"http://aimg.spriteapp.cn/ugc/2016/07/01/5775f1d8255ba.gif",
 "is_gif":"1",
 "gifFistFrame":"http://aimg.spriteapp.cn/ugc/2016/07/01/5775f1d8255ba_a_1.jpg",
 "width":"240",
 "height":"179",
 "tag":"",
 "t":1467409921,
 "ding":"428",
 "favourite":"34"
 },
 */
@class LZFCommentItem;

typedef  NS_ENUM(NSInteger,LZFTopicType)
{
    LZFTopicTypeAll=1,
    LZFTopicTypePic=10,
    LZFTopicTypeWord=29,
    LZFTopicTypeVoice=31,
    LZFTopicTypeVedio=41
};

@interface LZFTopicItem : NSObject

/**id*/
@property(nonatomic,strong)NSString *ID;  //id
/**用户名*/
@property(nonatomic,strong)NSString *name;
/**头像地址*/
@property(nonatomic,strong)NSString *profile_image;
/**创建时间*/
@property(nonatomic,strong)NSString *create_time;
/**文本*/
@property(nonatomic,strong)NSString *text;


/**赞数*/
@property(nonatomic,assign)NSInteger love;
/**踩数*/
@property(nonatomic,assign)NSInteger hate;
/**转发*/
@property(nonatomic,assign)NSInteger repost;
/**评论数*/
@property(nonatomic,assign)NSInteger comment;



/**最热评论数组*/
//@property(nonatomic,strong)NSArray *top_cmt;

/**最热评论模型*/
@property(nonatomic,strong)LZFCommentItem *topComment;


/**帖子类型*/
@property(nonatomic,assign)NSInteger type;

/**行高*/
@property(nonatomic,assign)CGFloat rowHeight;

/**中间xib的frame*/
@property(nonatomic,assign)CGRect middleFrame;
/**返回图片高度*/
@property(nonatomic,assign )CGFloat height;
/**返回图片宽度*/
@property(nonatomic,assign )CGFloat width;


/**返回小图url*/
@property(nonatomic,strong)NSString *small_image;//image0
/**返回大图片片url*/
@property(nonatomic,strong)NSString *large_image;//image1
/**返回中图url*/
@property(nonatomic,strong)NSString *middle_image;//image2


/**声音播放次数*/
@property(nonatomic,assign)NSInteger playcount; //服务器返回的json是string,但是如果你的后续要拿这个东西来运算的话,那么直接转成NSInteger,方便后续的计算

/**声音时长*/
@property(nonatomic,assign)NSInteger voicetime;

/**视屏时长*/
@property(nonatomic,assign)NSInteger videotime;

/**是否是gif图片*/
@property(nonatomic,assign)BOOL  is_gif;


/**是否是大图片*/
@property(nonatomic,assign,getter=isBigPicture)BOOL bigPicture;











@end
